package com.health.ts.entity.register;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2017-07-05
 */
@TableName("sys_source")
public class Source extends Model<Source> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
	private String id;
	
    /**
     * 医生id（号源所属）
     */
	private String docid;
    /**
     * 科室id（号源所属）
     */
	private String department_id;
    /**
     * 医院id（号源所属）
     */
	private String hospital_id;
    /**
     * 号源序号
     */
	@TableField(value="source_order")
	private Integer order;
    /**
     * 号源使用时间
     */
	private Date use_time;
    /**
     * 号源时间段
     */
	private String hy_timetype;
    /**
     * 排班id
     */
	private String pbid;
	
	/**
     * 是否已用
     */
	private String is_used;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDocid() {
		return docid;
	}

	public void setDocid(String docid) {
		this.docid = docid;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}
	
	public String getPbid() {
		return pbid;
	}

	public void setPbid(String pbid) {
		this.pbid = pbid;
	}

	public String getDepartment_id() {
		return department_id;
	}

	public void setDepartment_id(String department_id) {
		this.department_id = department_id;
	}

	public String getHospital_id() {
		return hospital_id;
	}

	public void setHospital_id(String hospital_id) {
		this.hospital_id = hospital_id;
	}

	public String getHy_timetype() {
		return hy_timetype;
	}

	public void setHy_timetype(String hy_timetype) {
		this.hy_timetype = hy_timetype;
	}
	
	public Date getUse_time() {
		return use_time;
	}

	public void setUse_time(Date use_time) {
		this.use_time = use_time;
	}
	
	public String getIs_used() {
		return is_used;
	}

	public void setIs_used(String is_used) {
		this.is_used = is_used;
	}
}
